Skip to content

Conversation

feilong
Copy link
Contributor

@feilong feilong commented May 13, 2025

Changes proposed in this pull request

Currently in fMRIPrep the Connectome Workbench is used to resample BOLD data to fsLR spaces, as part of the CIFTI workflow.
This PR allows resampling BOLD data to any surface template space with a similar workflow, as long as (a) the "space-fsLR" spheres exist for the template (e.g., "tpl-onavg_space-fsLR_hemi-R_den-41k_sphere.surf.gii") or (b) the template is "fsLR".

In the long run, we might want to generate alternative generic workflows, e.g., (a) using the SurfaceTransform class of nitransforms by @Shotgunosine and me, and (b) using FreeSurfer's resampling workflow.

This PR depends on a recent PR of smriprep and updating TemplateFlow's files on AWS S3.
Currently the wrong subfolder on S3 was updated for some unknown reason.

This generic resampling workflow might serve as the first step for the generic CIFTI workflow.

Documentation that should be reviewed

I've updated the workflows' docstrings accordingly, but feel free to make suggestions/edits.

@effigies @oesteban

Copy link

codecov bot commented Aug 13, 2025

Codecov Report

❌ Patch coverage is 0% with 53 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.43%. Comparing base (c961b3c) to head (fcd3231).

Files with missing lines Patch % Lines
fmriprep/workflows/bold/resampling.py 0.00% 34 Missing ⚠️
fmriprep/workflows/bold/base.py 0.00% 19 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (c961b3c) and HEAD (fcd3231). Click for more details.

HEAD has 8 uploads less than BASE
Flag BASE (c961b3c) HEAD (fcd3231)
9 1
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #3461       +/-   ##
==========================================
- Coverage   73.50%   0.43%   -73.08%     
==========================================
  Files          60      59        -1     
  Lines        4582    4611       +29     
  Branches      585     591        +6     
==========================================
- Hits         3368      20     -3348     
- Misses       1085    4591     +3506     
+ Partials      129       0      -129     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants